Configuration Service
Der Konfigurationsservice von TimePunch stellt Methoden bereit, um Einstellungen in TimePunch zu lesen und/oder zu speichern.
LoadAttendanceSettings
Diese Methode gibt die globalen Einstellungen des Moduls Anwesenheitsliste zurück.
AttendanceSettingsDto LoadAttendanceSettings(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | core@logon | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| Return value | Information about the attendance settings |
SaveAttendanceSettings
Diese Methode erlaubt das Speichern der globalen Einstellungen für das Modul Anwesenheitsliste.
void SaveAttendanceSettings(
out TpFault fault,
TpAuthentication authentication,
AttendanceSettingsDto attendanceSettings);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| attendanceSettings | Information about the attendance settings |
LoadCostCenterSettings
Diese Methode gibt die in TimePunch hinterlegten Kostenstellen für die verschiedenen Buchungstypen zurück.
CostCenterDto LoadCostCenterSettings(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | core@logon | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| Return value | Information about the cost centers |
SaveCostCenterSettings
Diese Methode erlaubt das Speichern der Kostenstellen für die verschiedenen Buchungstypen in TimePunch.
void SaveCostCenterSettings(
out TpFault fault,
TpAuthentication authentication,
CostCenterDto costCenter);
| Needed Permission | datev@export | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| costCenter | Information about the cost centers |
LoadDatevExportSettings
Diese Methode lädt die Einstellungen für den Export nach DATEV, Lexware, usw.
GlobalSalaryExportDto LoadDatevExportSettings(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | core@logon | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| Return value | Information about the datev settings |
SaveDatevExportSettings
Diese Methode speichert die Einstellungen für den Export zur Lohnbuchhaltung.
void SaveDatevExportSettings(
out TpFault fault,
TpAuthentication authentication,
GlobalSalaryExportDto datevExport);
| Needed Permission | datev@export | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| datevExport | Information about the datev settings |
LoadMailSettings
Diese Methode lädt die Einstellungen für den automatischen Mailversand in TimePunch.
AutomatedMailsDto LoadMailSettings(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | core@logon | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| Return value | Information about the automated mail settings |
SaveMailSettings
Diese Methode speichert die Einstellungen für den automatischen Mailversand in TimePunch.
void SaveMailSettings(
out TpFault fault,
TpAuthentication authentication,
MailSettingsDto mailSettings);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| mailSettings | Information about the automated mail settings |
LoadUserSettings
Diese Methode lädt Einstellungen, die alle Benutzer gleichermaßen betreffen und ein besonderes Verhalten in TimePunch bewirken.
UserSettingsDto LoadUserSettings(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | core@logon | |
|---|---|---|
| Name | Modifier | Description |
| Fault | Out | Contains the error if an exception occurs. |
| Authentication | User authentication | |
| Return value | User settings object |
SaveUserSettings
Diese Methode speichert die Einstellungen für das besondere Verhalten in TimePunch.
void SaveUserSettings(
out TpFault fault,
TpAuthentication authentication,
UserSettingsDto userSettings);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| userSettings | Information about the datev settings |
LoadUserSalaryExportDto
Diese Methode lädt die mitarbeiterspezifischen Einstellungen für den Lohndatenexport in ein Lohnprogramm.
List<UserSalaryExportDto> LoadUserSalaryExportDto(
out TpFault fault,
TpAuthentication authentication,
List<Guid> userIds);
| Needed Permission | salaryExport@access | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| userIds | User Ids to load the salary export dto | |
| Return value | Salary export settings per user |
SaveUserSalaryExportDto
Diese Methode speichert die mitarbeiterspezifischen Einstellungen für den Lohndatenexport.
void SaveUserSalaryExportDto(
out TpFault fault,
TpAuthentication authentication,
List<UserSalaryExportDto> salaryExportDtos);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| salaryExportDtos | Salary export settings per user |
LoadDocumentStoreConfiguration
Diese Methode lädt die Konfiguration des Dokumentenspeichers aus dem Application Server.
DocumentStoreConfigurationDto LoadDocumentStoreConfiguration(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | documentStore@access | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| Return value | Document storage configuration |
SaveDocumentStoreConfiguration
Diese Methode schreibt die Konfiguration des Dokumentenspeichers in dem Application Server.
void SaveDocumentStoreConfiguration(
out TpFault fault,
TpAuthentication authentication,
DocumentStoreConfigurationDto configuration);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| configuration | The document storage configuration |
LoadVisualSettings
Diese Methode lädt die UI Einstellungen von TimePunch.
VisualSettingsDto LoadVisualSettings(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | --- | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| Return Value | The visual settings object |
SaveVisualSettings
Diese Methode speichert die UI Einstellungen von TimePunch
void SaveVisualSettings(
out TpFault fault,
TpAuthentication authentication,
VisualSettingsDto visualSettings);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| visualSettings | The visual settings object |
LoadRetroactiveProjectAssignment
Diese Methode lädt die Einstellungen zur nachträglichen Projektierung.
RetroactiveProjectAssignmentDto LoadRetroactiveProjectAssignment(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | --- | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| Return Value | The retroactive project settings |
SaveRetroactiveProjectAssignment
Diese Methode speichert die Einstellungen zur nachträglichen Projektierung
void SaveRetroactiveProjectAssignment(
out TpFault fault,
TpAuthentication authentication,
RetroactiveProjectAssignmentDto RetroactiveProjectAssignment);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| RetroactiveProjectAssignment | The retroactive project settings object |
LoadCalculationInternals
Diese Methode lädt die Einstellungen für die interne Zeitkontenberechnung.
CalculationInternalsDto LoadCalculationInternals(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| CalculationInternalsDto | The loaded calculation internals |
SaveCalculationInternals
Diese Methode speichert die Einstellungen für die interne Zeitkontenberechnung.
void SaveCalculationInternals(
out TpFault fault,
TpAuthentication authentication,
CalculationInternalsDto calculationInternals);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| CalculationInternalsDto | calculationInternals | The calculation internals to save |
LoadGlobalRecordingSettings
Diese Methode lädt die globalen Aufnahmeeinstellungen.
GlobalRecordingSettingsDto LoadGlobalRecordingSettings(
out TpFault fault,
TpAuthentication authentication);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| GlobalRecordingSettingsDto | The global recording settings |
SaveGlobalRecordingSettings
Diese Methode speichert die globalen Aufnahmeeinstellungen.
void SaveGlobalRecordingSettings(
out TpFault fault,
TpAuthentication authentication,
GlobalRecordingSettingsDto globalRecordingSettings);
| Needed Permission | core@administrate | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| GlobalRecordingSettingsDto | globalRecordingSettings | The global recording settings |